/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.hd4ic.gui.controlls;

import boofcv.gui.binary.HistogramThresholdPanel;

/**
 *
 * @author morfant
 */
public class ClearingHistogramThresholdPanel extends HistogramThresholdPanel {

    public ClearingHistogramThresholdPanel(int i, double d) {
        super(i, d);
    }

    public void clearHistogramm() {
        setThreshold(0, true);
        for (int i = 0; i < bins.length; i++) {
            bins[i] = 0;
        }
    }
}
